package cn.jieruoda.eb.system.domain.entity;

import java.io.Serializable;
import java.util.Date;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

import lombok.Data;

/**
 * 组合数据表
 */
@Data
@Entity
@Table(name = "system_group")
public class SystemGroup implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 组合数据ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    
    /**
     * 数据组名称
     */
    @Column(name = "name", nullable = false, length = 50)
    private String name;
    
    /**
     * 简介
     */
    @Column(name = "info", nullable = false, length = 256)
    private String info;
    
    /**
     * form 表单 id
     */
    @Column(name = "form_id", nullable = false)
    private Integer formId;
    
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    
    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;
} 